//
//  ShowAlertView.h
//  YXLAlertView
//
//  Created by yanxinlong on 16/1/13.
//  Copyright © 2016年 yanxinlong. All rights reserved.
//

#import <UIKit/UIKit.h>
typedef  void(^sureButtonBlock)();
typedef  void(^sendViewBlock)(id);

@interface ShowAlertView : UIControl

@property (nonatomic, copy) sureButtonBlock sureBlock;
@property (nonatomic, copy) sendViewBlock sendBlock;

/** < 只提示一句话 > **/
- (instancetype)initWithAlertString:(NSString *)alertString;
/** < 做出提示让用户选择是否确定 > **/
- (instancetype)initWithTitle:(NSString *)titleString andMessage:(NSString *)messages;
/** < 让用户填写理由并确定 > **/
- (instancetype)initWithTitle:(NSString *)titleString andContentPlaceholder:(NSString *)placeholder;

@end
